@import './../../index.scss';
@import './../../assets/css/CommonStyle.scss';
#menu {
  height: 100vh;
  width: p-w(240);
  overflow: scroll;
  padding: 0 8px;
  .ant-menu-submenu-selected {
    background: #ecf5ff;
  }
  .ant-menu-item-selected {
    background: #cfe6ff;
  }
  .ant-menu-item {
    margin: 0;
    height: 48px;
    line-height: 48px;
    padding-left: 17px !important;
    width: 100%;
  }
  .ant-menu-submenu-title {
    margin: 0;
    height: 64px;
    line-height: 64px;
    padding-left: 8px !important;
    font-size: 16px;
  }
  .ant-menu-inline .ant-menu-item::after {
    border-right: none;
  }
  .err {
    color: $err-color !important;
  }

  &::-webkit-scrollbar {
    display: none;
  }
}

@media screen and (max-width: $moblie-min-width) {
  #menu {
    width: m-w(639) !important;
    .ant-menu-submenu-active {
      background: #ecf5ff;
    }
    .ant-menu-item:active {
      background: #cfe6ff;
      color: #1890ff;
    }
  }
}
